package com.dapeis.domain;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.ag.core.base.Domain;
import com.dapeis.core.utils.RequirementConfig;
import com.dapeis.core.utils.StylistConstants;

/**
 * 需求 Title:Requirement.java Requirement Description:
 * 
 * @author yuanyong
 * @date 2017年4月19日 下午6:13:31 Email: hzyuanyong@126.com
 *
 */
@Table(name = "dps_requirement")
public class Requirement extends Domain {

    private static final long serialVersionUID = -570992828822524801L;

    @Id
    @GeneratedValue(generator = "JDBC")
    Integer id;
    Integer userId;// 发布的用户
    String sceneCode; // 场景
    Integer sex;// 性别
    String costCode;// 预期花费对应的Code
    String shop; // 购买商品 | 分隔符
    String garderobe;// 衣橱ID |分隔符
    String remark;// 需求描述
    Long createTime;// 创建时间
    Integer type; // 类型 参照stylistConstants //咨询、购物、陪逛、整理
    Long time;// 约定时间
    String cityCode;// 地址城市编码
    String addres;// 约定详细地址
    Integer status = StylistConstants.State.NORMAL; // 状态
    Long orderId; // 订单号
    Integer shopId;//搭配师服务ID
    
    
    
    public static final String PROPERTY_ORDERID= "orderId";
    
    public Integer getId() {
	return id;
    }

    public void setId(Integer id) {
	this.id = id;
    }

    public Integer getUserId() {
	return userId;
    }

    public void setUserId(Integer userId) {
	this.userId = userId;
    }

    public String getSceneCode() {
	return sceneCode;
    }

    public void setSceneCode(String sceneCode) {
	this.sceneCode = sceneCode;
    }

    public Integer getSex() {
	return sex;
    }

    public void setSex(Integer sex) {
	this.sex = sex;
    }

    public String getCostCode() {
	return costCode;
    }

    public void setCostCode(String costCode) {
	this.costCode = costCode;
    }

    public String getShop() {
	return shop;
    }

    public void setShop(String shop) {
	this.shop = shop;
    }

    public String getRemark() {
	return remark;
    }

    public void setRemark(String remark) {
	this.remark = remark;
    }

    public Long getCreateTime() {
	return createTime;
    }

    public void setCreateTime(Long createTime) {
	this.createTime = createTime;
    }

    public Integer getType() {
	return type;
    }

    public void setType(Integer type) {
	this.type = type;
    }

    public Integer getStatus() {
	return status;
    }

    public void setStatus(Integer status) {
	this.status = status;
    }

    public Long getTime() {
	return time;
    }

    public void setTime(Long time) {
	this.time = time;
    }

    public String getCityCode() {
	return cityCode;
    }

    public void setCityCode(String cityCode) {
	this.cityCode = cityCode;
    }

    public String getAddres() {
	return addres;
    }

    public void setAddres(String addres) {
	this.addres = addres;
    }

    public String getGarderobe() {
	return garderobe;
    }

    public void setGarderobe(String garderobe) {
	this.garderobe = garderobe;
    }

    public Long getOrderId() {
	return orderId;
    }

    public void setOrderId(Long orderId) {
	this.orderId = orderId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
    
}
